import { ref } from "vue";

export default function useSum() {
  const sum = ref(0);

  const incrSum = () => {
    sum.value += 1;
  };

  return [sum, incrSum];
}
